import csv

class ReadCsv():
    def readCsv(self,file):
        #存储读取出来的数据的列表
        #格式：[['1', '2', '3'], ['4', '5', '9'], ['7', '8', '15']]
        datas=[]
        c = csv.reader(open(file,"r",encoding="utf-8"))
        print(c)
        for i in c:
            # print(i)
            datas.append(i)
        return datas


